package inner;

import java.util.ArrayList;
import java.util.List;

public class Outer {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add(null);
        list.add(null);

        for (String str :
                list) {
            System.out.println(str);
        }
    }
}